package com.six.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.six.core.entity.Area;
import com.six.core.entity.Emp;
import com.six.core.vo.AreaVo;
import com.six.core.vo.Result;

/**
 * @Description:
 * @author:LiWei
 * @date:2023年02月28日9:08
 */


public interface AreaService extends IService<Area> {


    Result findAll(Integer currentPage, Integer pageSize, AreaVo areaVo);

    Result addArea(Area area);

    Result updateArea(Area area);

    Result deleteById(Integer id);

    Result findAllEmp();

    Result exitEmp(Integer id);

    Result confirmEmp(Integer areaid, Emp emp);

    Result findEmp(Integer id);

    Result findAllArea();
}
